import {Module, register} from "../core-native";
import DetailPage from "../pages/DetailPage";
import {RootState} from "../types";

class DetailModule extends Module<RootState, "detail"> {}

const module = register(new DetailModule("detail", {}));
export const detailActions = module.getActions();
export const Detail = module.attachLifecycle(DetailPage);
